// 设备监控模拟数据
const deviceData = {
    // 设备状态统计
    statistics: {
        quayCrane: {
            total: 8,
            running: 5,
            idle: 2,
            maintenance: 1
        },
        gantryCrane: {
            total: 12,
            running: 8,
            idle: 3,
            maintenance: 1
        },
        agv: {
            total: 15,
            running: 10,
            idle: 4,
            maintenance: 1
        }
    },

    // 设备健康度数据
    healthData: {
        categories: ['岸桥', '龙门吊', 'AGV'],
        data: [95, 92, 88]
    },

    // 设备列表数据
    devices: [{
            id: 'QC001',
            type: 'quayCrane',
            name: '岸桥-01',
            status: 'running',
            location: '1号泊位',
            runtime: '6.5小时',
            battery: '85%',
            statusTrend: {
                times: ['08:00', '09:00', '10:00', '11:00', '12:00'],
                values: [1, 1, 1, 1, 1]
            },
            batteryTrend: {
                times: ['08:00', '09:00', '10:00', '11:00', '12:00'],
                values: [100, 95, 90, 88, 85]
            }
        },
        {
            id: 'QC002',
            type: 'quayCrane',
            name: '岸桥-02',
            status: 'idle',
            location: '2号泊位',
            runtime: '4.2小时',
            battery: '92%',
            statusTrend: {
                times: ['08:00', '09:00', '10:00', '11:00', '12:00'],
                values: [1, 1, 0, 0, 0]
            },
            batteryTrend: {
                times: ['08:00', '09:00', '10:00', '11:00', '12:00'],
                values: [100, 98, 96, 94, 92]
            }
        },
        {
            id: 'GC001',
            type: 'gantryCrane',
            name: '龙门吊-01',
            status: 'running',
            location: '堆场A区',
            runtime: '5.8小时',
            battery: '78%',
            statusTrend: {
                times: ['08:00', '09:00', '10:00', '11:00', '12:00'],
                values: [1, 1, 1, 1, 1]
            },
            batteryTrend: {
                times: ['08:00', '09:00', '10:00', '11:00', '12:00'],
                values: [100, 90, 85, 82, 78]
            }
        },
        {
            id: 'AGV001',
            type: 'agv',
            name: 'AGV-01',
            status: 'running',
            location: '运输通道1',
            runtime: '3.5小时',
            battery: '65%',
            statusTrend: {
                times: ['08:00', '09:00', '10:00', '11:00', '12:00'],
                values: [1, 1, 1, 1, 1]
            },
            batteryTrend: {
                times: ['08:00', '09:00', '10:00', '11:00', '12:00'],
                values: [100, 85, 75, 70, 65]
            }
        }
    ]
};